% testprogram

% job one
j1 = tp_job();

% job two
j2 = tp_job();

% master worker manager
mw = tp_jobs();
mw.jobs = [ j1 j2 ];

% submit the jobs specified
tp_submit(mw);

% 
%tp_retrieve();